﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConceptionLogiciel_Devoir1
{
    class Personne
    {
        protected String nom;
        protected String prenom;
        protected DateTime dateNaissance;
        protected String noTelephone;
        protected String adresse;
        protected String courriel;

        // Constructor
        // -------------------------------------------------------------------------------
        public Personne() { }
        public Personne(String _nom, String _prenom, DateTime _dateNaissance,
            String _noTelephone, String _adresse, String _courriel)
        {
            this.nom = _nom;
            this.prenom = _prenom;
            this.dateNaissance = _dateNaissance;
            this.noTelephone = _noTelephone;
            this.adresse = _adresse;
            this.courriel = _courriel;
        }

        // Getters && setters
        // -------------------------------------------------------------------------------
        public String Nom
        {
            get { return nom; }
            set { this.nom = value; }
        }

        public String Prenom
        {
            get { return prenom; }
            set { this.prenom = value; }
        }

        public DateTime DateNaissance
        {
            get { return dateNaissance; }
            set { this.dateNaissance = value; }
        }

        public String NoTelephone
        {
            get { return noTelephone; }
            set { this.noTelephone = value; }
        }

        public String Adresse
        {
            get { return adresse; }
            set { this.adresse = value; }
        }
        
        public String Courriel
        {
            get { return courriel; }
            set { this.courriel = value; }
        }

    } // End class Personne
} // End namespace devoir3_conception_location
